home *** CD-ROM | disk | FTP | other *** search
- * Requests the target to perform diagnostic operations on itself.
-
- @THREAD SNDIAGNO.LOG
- @NEWALIAS SADD SCSIADD.GRA
- @IMPORT SCSICOM.SCR
- SADD DD_OPEN
-
- * 0=Async mode, 1=Sync mode
- SADD SET MODE=1
-
- * Command completion timeout (Secs)
- * 0=the assigned value is the default set by the driver,
- * -1=the assigned value is infinite.
- SADD SET TIMEOUT=0
-
-
- * 0 : prohibits any diagnostic operations that may be
- * detected by subsequent I/O processes.
- * 1 : grants permission to the target to perform diagnostic
- * operations that may affect the user accessible medium on
- * the logical unit, e.g. write operations to the user accessible
- * medium, or repositioning of the medium on sequential access devices.
- SADD SET UNIT_OFF_LINE = 0
-
- * 0 : prohibits diagnostic operations that may be detected by
- * subsequent I/O processes.
- * 1 : grants permission to the target to perform diagnostic
- * operations that may affect all the logical units on a target,
- * e.g. alteration of reservations, log parameters, or sense data.
- SADD SET DEVICE_OFF_LINE = 0
-
- * 0 : requests that the target perform the diagnostic
- * operation specified in the parameter list.
- * 1 : directs the target to complete its default self-test.
- SADD SET SELF_TEST = 1
-
- * 0 : parameters are as specified in SCSI-1
- * (i.e. all parameters are vendor-specific).
- * 1 : parameters conform to the page structure as specified in the
- * International Standard.
- SADD SET PAGE_FORMAT = 0
-
- * length in bytes of the Parameter list that shall be transferred
- * from the initiator to the target.
- SADD SET NUM_BYTES = 0
-
- * Name for paramblock
- SADD SET LABEL = "SEND DIAGNOSTIC"
-
- *SADD SET CONTROL_LINK = 1
-
- SADD SEND_DIAGNOSTIC
-
- SADD DD_CLOSE
-